import Vue from 'vue'
import VueRouter from 'vue-router'
import Male from '../views/Male.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'loge',
    component: () => import('../components/Loge/Loge.vue')
  },
  {
    path: '/loge/account',
    name: 'account',
    component: () => import('../components/account/account.vue')
  },
  {
    path: '/Male',
    name: 'Male',
    component: Male
  },
  {
    path: '/Search',
    name: 'Search',
    component: () => import('../components/Search/Search.vue')
  },
  {
    path: '/Search/Searchlist',
    name: 'Searchlist',
    component: () => import('../components/Searchlist/Searchlist.vue')
  },
  {
    path: '/Girls',
    name: 'Girls',
    component: () => import('../views/Girls.vue')
  },
  {
    path: '/Bookdetails',
    name: 'Bookdetails',
    component: () => import('../components/Bookdetails/Bookdetails.vue')
  },
  {
    path: '/Bookdetails/Bookshelf',
    name: 'Bookshelf',
    component: () => import('../components/Bookshelf/Bookshelf.vue')
  },
  {
    path: '/Bookdetails/Browse',
    name: 'Browse',
    component: () => import('../components/Browse/Browse.vue')
  },
  {
    path: '/Bookdetails/Chapter',
    name: 'Chapter',
    component: () => import('../components/Chapter/Chapter.vue')
  }
]

const router = new VueRouter({
  
  history: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
